package com.hdsx.restful.glzt.roadline.nclx.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hdsx.restful.glzt.roadline.lxxx.bean.LxdmMapLxmc;
import com.hdsx.restful.glzt.roadline.nclx.bean.Nclx;
import com.hdsx.restful.glzt.roadline.nclx.mapper.NclxMapper;
import com.hdsx.restful.glzt.roadline.nclx.service.INclxService;
@Service
public class NclxServiceImpl implements INclxService {


	@Resource(name="nclxMapper")
	private NclxMapper mapper;


	/**
	 * 联想输入
	 * 
	 * @param lx
	 * @return
	 */
	@Override
	public List<LxdmMapLxmc> selectResultsByParameter(String dm, String mc) {
		return mapper.selectResultsByParameter(dm, mc);
	}
	
	@Override
	public List<Nclx> queryList(Map<String, Object> map) {
		return mapper.selectList(map);
	}
	@Override
	public int queryCount(Map<String, Object> map) {
		return mapper.selectCount(map);
	}
	
	@Override
	public Nclx queryById(String id){
		return mapper.queryById(id);
	}
	
}
